package com.linqi.freebie.http.ktorClientCio.response

open class HttpError(
    var httpCode: Int? = null,
    var errorCode: Int,
    var errorMsg: String,
    var cause: Throwable? = null
) {
    companion object {
        const val UNKNOW_ERROR = -1
        const val CANCEL_REQUEST = -2
        const val CONNECT_ERROR = -3
        const val CONNECT_TIMEOUT = -4
        const val BAD_NETWORK = -5
        const val PARSE_ERROR = -6
    }
}
